|
SAP Convergent Charging
Java and XML APIs (Core) |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.highdeal.pnr.hci.AccessModel
public class AccessModel
This Java class represents an access in master data that grants a timed license to an end customer of a service provider to
access and use its marketable services; In return for this service usage, the access identifies
a charge that must be computed and debited for this service consumption. This fee is part of a business agreement (subscription, provider contract).
An access is an association between technical information related to the usage of a marketable service by an end customer and business information for charging this consumption.
charge activations (*)
for this user (end customer).
Example of user service ID and service ID: A phone number in the phone service, or an e-mail address in a messaging service
Notes (*)
accessible charge.
The business agreement information includes only accessible charges.
owner. In this case, the access can only include accessible charges on
subscriptions and charging contracts related to a
subscriber account whose service provider
is the same as the owner of the access.
accessible charge represents a charge activation linked by the access.
If a linked activation charge is removed, the corresponding accessible charge is replaced by the previous accessible charge in the chronology. If there is no previous accessible charge, the deleted accessible charge is replaced by the following accessible charge. If the deleted accessible charge was alone, the access is removed.
Note
Since release 3.0 of SAP Convergent Charging, accesses are automatically created during the provisioning of provider contracts. You cannot customize this creation. Make sure you do not corrupt the accesses master data stored in SAP CC in case of a landscape that mixes subscriptions and provider contracts that shaed the same accesses.
AccessSearchFilterModel,
CreateAccessOpThe XML APIs specify the following XSD fragment:
XSD Fragment
<xs:element name="access">
<xs:complexType>
<xs:sequence>
<xs:element ref="accessibleChargeChronology" minOccurs="0" maxOccurs="1"/>
<xs:element ref="accessibleCharge" minOccurs="0" maxOccurs="1"/>
</xs:sequence>
<xs:attribute name="service" type="xs:string" use="required"/> <!-- means Service ID -->
<xs:attribute name="user" type="xs:string" use="required"/> <!-- means User Service ID -->
<xs:attribute name="owner" type="xs:string" use="optional"/>
</xs:complexType>
</xs:element>
<xs:element name="accessibleChargeChronology">
<xs:complexType>
<xs:sequence>
<xs:element ref="chronology" minOccurs="1" maxOccurs="1"/>
</xs:sequence>
</xs:complexType>
</xs:element>
| Field Summary | |
|---|---|
static java.lang.String |
NAME
The XML tag name of the data model: "access" |
| Constructor Summary | |
|---|---|
AccessModel()
Constructs an empty access. |
|
AccessModel(java.lang.String serviceId,
java.lang.String userServiceId)
Constructs an access with a service identifier and a user service identifier. |
|
| Method Summary | |
|---|---|
void |
addCharacterData(java.lang.String cData)
Adds character data to the content element. |
void |
addChild(java.lang.String tagName,
XMLMarshallable child)
Adds a child to the object, the child representing
the marshallable object which must be added to the element. |
AccessibleChargeModel |
getAccessibleCharge()
Gets the accessible charge for modification. |
ChronologyModel |
getAccessibleChargeChronology()
Gets the accessible charge chronology of the access. |
java.lang.String |
getOwner()
Gets the owner of the access. |
java.lang.String |
getServiceId()
Gets the service identifier of the access. |
java.lang.String |
getUserServiceId()
Gets the user service identifier of the access. |
void |
marshal(XMLOutputter output)
Gives an XML representation of this object, including its children. |
void |
setAccessibleCharge(AccessibleChargeModel accessibleCharge)
Sets the accessible charge for modification. |
void |
setAttributes(XMLAttributes atts)
Sets the attributes of the XML representation of the element being processed. |
void |
setOwner(java.lang.String owner)
Sets the owner of the access. |
void |
setServiceId(java.lang.String serviceId)
Sets the service identifier of the access. |
void |
setUserServiceId(java.lang.String userServiceId)
Sets the user service identifier of the access. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final java.lang.String NAME
| Constructor Detail |
|---|
public AccessModel()
public AccessModel(java.lang.String serviceId,
java.lang.String userServiceId)
serviceId - The service identifier of the accessuserServiceId - The user service identifier of the access| Method Detail |
|---|
public java.lang.String getServiceId()
public void setServiceId(java.lang.String serviceId)
serviceId - The service identifier of the accesspublic java.lang.String getUserServiceId()
public void setUserServiceId(java.lang.String userServiceId)
userServiceId - The user service identifier of the accesspublic java.lang.String getOwner()
public void setOwner(java.lang.String owner)
owner - The owner of the accesspublic ChronologyModel getAccessibleChargeChronology()
public AccessibleChargeModel getAccessibleCharge()
public void setAccessibleCharge(AccessibleChargeModel accessibleCharge)
accessibleCharge - The accessible charge for modificationpublic void setAttributes(XMLAttributes atts)
XMLMarshallable
setAttributes in interface XMLMarshallableatts - The XML attributes of the current element
public void addChild(java.lang.String tagName,
XMLMarshallable child)
XMLMarshallablechild representing
the marshallable object which must be added to the element.
addChild in interface XMLMarshallabletagName - The name of tag for the childchild - The child to be addedpublic void addCharacterData(java.lang.String cData)
XMLMarshallable
addCharacterData in interface XMLMarshallablecData - The character data to be addedpublic void marshal(XMLOutputter output)
XMLMarshallable
marshal in interface XMLMarshallableoutput - The XML output to marshal the object into
|
Document Published: October 2015 (SAP CC 4.0 SP10 and Later) | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||